package com.ysstech.finance.feign;


import com.ysstech.common.entity.TreeNode;
import com.ysstech.finance.feign.entity.StockDealDetailed;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;


/**
 * 获取估值模块数据
 */
@FeignClient(name = "yss-valuation", fallback = FeignValuationServiceFallback.class)
public interface FeignValuationService {
    /**
     * 获取股票交易流水信息，分组汇总的，用来生成股票业务凭证
     *
     * @param accountId
     * @param fdate
     * @return
     * @throws Exception
     */
    @RequestMapping(value = "/stockDealDetailed/queryDatas", method = RequestMethod.POST)
    public List<StockDealDetailed> queryDatas(@RequestParam("accountId") String accountId, @RequestParam("fdate") String fdate);
}
